#	$OpenBSD: GENERIC-IP26,v 1.2 2014/08/22 20:03:56 deraadt Exp $
#
# THIS KERNEL IS FOR POWER INDIGO2 R8000 (IP26) SYSTEMS ONLY.
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine		sgi mips64
include		"../../../conf/GENERIC"
maxusers	32		# Estimated number of users

# Make options
makeoption	LINK_ADDRESS="0xa800000008010000"

option	WSDISPLAY_COMPAT_RAWKBD	# Provide raw scancodes; needed for X11

option		EISAVERBOSE
option		PCIVERBOSE
option		USER_PCICONF	# User-space PCI configuration

# Define what targets to support
option		TGT_INDIGO2	# Indigo2
option		ARCBIOS		# mandatory
option		CPU_R8000	# R8000 support

config		bsd	swap generic

#
# Definition of system
#
mainbus0	at root
cpu*		at mainbus0

tcc0		at mainbus0	# Streaming Cache Controller
int0		at mainbus0	# Interrupt Controller and scheduling clock
imc0		at mainbus0	# Memory Controller
gio0		at imc0
eisa0		at imc0

hpc0		at gio? addr 0x1fb80000

dsclock0	at hpc0
sq*		at hpc?		# On-board Ethernet
wdsc*		at hpc?		# On-board SCSI
#haltwo*		at hpc0		# Audio
panel*		at hpc0		# front panel buttons
pckbc*		at hpc0		# keyboard and mouse

zs0		at hpc0
zstty*		at zs0		# Serial ports

pckbd*		at pckbc?
wskbd*		at pckbd? mux 1
pms*		at pckbc?
wsmouse*	at pms? mux 0

grtwo*		at gio?		# Express (GR2/GR3) graphics
wsdisplay*	at grtwo?
#impact*		at gio?		# Impact graphics
#wsdisplay*	at impact?
newport*	at gio?		# XL graphics
wsdisplay*	at newport?

giopci*		at gio?
pci*		at giopci?

#dc*		at pci?		# Phobos G100/G130/G160 Fast Ethernet
#lxtphy*		at mii?		# Level1 LXT970 PHYs
#ukphy*		at mii?		# "unknown" PHYs

#audio*		at haltwo?

scsibus*	at scsi?
sd*		at scsibus?
st*		at scsibus?
cd*		at scsibus?
ch*		at scsibus?
safte*		at scsibus?
ses*		at scsibus?
uk*		at scsibus?

#pseudo-device	hotplug	1	# devices hot plugging
pseudo-device	wsmux	2       # Mouse and keyboard multiplexor
